<?php
$title = 'Edit Album';
$this->headtitle($title);
?>
<h1><?php echo $this->escapehtml($title);?></h1>
<?php 
$form = $this->form;
$form->setAttribute('action', $this->url('album', array('action' => 'edit', 'id'=> $this->id)));
$form->prepare();

echo $this->form()->openTag($form);
echo $this->formcollection($form);
echo $this->form()->closeTag();
?>